package com.sms.entity;

import lombok.Data;

/**
 * 微信用户实体类
 * @version v1.0
 * @Author 郴州科泰
 * @Create 2024-07-27 - 14:12
 */
@Data
public class WxUser {
    private Integer id; // 微信用户Id
    private String username;  // 微信用户名称
    private String password; // 用户密码
    private Integer gender;  // 性别：0 未知， 1男， 1 女
    private String birthday; //生日
    private String lastLoginTime; // 最近一次登录时间
    private String lastLoginIp;  // 最近一次登录IP地址
    private Integer userLevel; //  0 普通用户，1 VIP用户，2 高级VIP用户
    private String nickname; //用户昵称或网络名称
    private String mobile; // 用户手机号码(唯一值)
    private String avatar; // 用户头像图片
    private String sessionKey; // 微信登录会话KEY
    private Integer status; // 0 可用, 1 禁用, 2 注销
    private String fullLocation;  // 家庭住址(省市区)
    private String profession;  // 职业
    private String addTime;  // 创建时间
    private String updateTime;// 更新时间
    private Integer deleted;  // 逻辑删除
    private String openId; // 用户的唯一标识
    private String token;  // token令牌
    private Integer enabled;//是否删除

    @Override
    public String toString() {
        return "WxUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gender=" + gender +
                ", birthday='" + birthday + '\'' +
                ", lastLoginTime='" + lastLoginTime + '\'' +
                ", lastLoginIp='" + lastLoginIp + '\'' +
                ", userLevel=" + userLevel +
                ", nickname='" + nickname + '\'' +
                ", mobile='" + mobile + '\'' +
                ", avatar='" + avatar + '\'' +
                ", sessionKey='" + sessionKey + '\'' +
                ", status=" + status +
                ", fullLocation='" + fullLocation + '\'' +
                ", profession='" + profession + '\'' +
                ", addTime='" + addTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", deleted=" + deleted +
                ", openId='" + openId + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
